﻿using SBlogCore.Entitys.SystemManager;
using SBlogCore.WebAdminApplication.SysManager.Dto;

namespace SBlogCore.WebAdminApplication.SysManager.IServices
{
    public interface ISysMenuManagerService
    {
        /// <summary>
        /// 表结构查询方法
        /// </summary>
        /// <returns></returns>
        Task<List<TableDicModel>> List();
        /// <summary>
        /// 修改菜单
        /// </summary>
        /// <param name="inPut"></param>
        /// <returns></returns>
        Task UpdateMenu(SysMenuEditInPut inPut);

        /// <summary>
        /// 新增菜单
        /// </summary>
        /// <param name="inPut"></param>
        /// <returns></returns>
        Task AddMenu(SysMenuInPut inPut);
        /// <summary>
        /// 获取Options数据
        /// </summary>
        /// <returns></returns>
        Task<List<SysMenuOptions>> GetMenuOptions();
        /// <summary>
        /// 查询菜单列表
        /// </summary>
        /// <returns></returns>
        Task<List<SysMenuOutPut>> GetMenuList();
        /// <summary>
        /// 批量删除数据
        /// </summary>
        /// <param name="idList"></param>
        /// <returns></returns>
        Task Delete(params long[] idList);

        Task<List<SysMenu>> GetMenuDataList();
    }
}
